<?php require('template/header.php') ?>
    <div id="page-wrapper">
        <div class="inner" style="min-height:1200px;">
            <div class="row">
                <div class="col-xs-12">
                        <form class="form-horizontal" method="POST" action="./index.php?c=food&m=addfood" enctype="multipart/form-data">
                            <div class="form-group">
                                <label for="name" class="col-md-2 control-label">菜品名称</label>
                                <div class="col-md-5">
                                    <input type="text" class="form-control" id="name" name="name">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="price" class="col-md-2 control-label">菜品价格</label>
                                <div class="col-md-5">
                                    <input type="number" class="form-control" id="price" name="price">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="pic" class="col-md-2 control-label">图片</label>
                                <div class="col-md-5">
                                    <input type="file" id="pic" name="pic">
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-offset-2 col-sm-10">
                                    <input type="submit" class="btn btn-Info" value="添加">
                                    <input type="reset" class="btn btn-Warning" value="重置">
                                </div>
                            </div>
                        </form>                  
                    </div>
                </div>
            </div>
        </div>
    </div>    
<?php require('template/footer.php') ?>